body,ul,h2,h4,h3,p,h1,input,button{
    margin: 0;
    padding: 0;
}
img{
    border: 0;
    max-width: 100%;
    height: auto;
}
body{
    font-family:"微软雅黑" ;
    /* 可选：给页面整体加背景色，更明显看出两侧空白 */
    background-color: #f9f9f9;
}
ul,li{
    list-style: none;
}
a{
    color:#333;
    text-decoration: none;
}
a:hover{
    color: green;
}

/* 核心修改：增大模块两侧内边距（留白） */
.song_reco,.new_song,.new_cd,.rank,.foot{
    /* 左右内边距从20px增至50px，小屏幕自动适配 */
    padding: 51px clamp(30px, 8vw, 80px) 50px;
    box-sizing: border-box;
}
.song_reco,.new_song,.new_cd,.rank{
    background: url(../img/b1.webp) repeat-x;
}

/* 核心修改：缩小内容容器最大宽度，间接增大两侧空白 */
.reco_con,.song_con,.bri_con,.cd_con,.rank_con,.foot_con,.head_con{
    width: 100%;
    /* 最大宽度从1200px减至900px，内容更紧凑，两侧空白更宽 */
    max-width: 900px;
    margin: 0 auto;
}
.tit{
    font-size: clamp(24px, 5vw, 30px);
    color: #333;
    letter-spacing: 14px;
    text-align: center;
    margin-bottom: 34px;
}

/* 头部 */
.head_con{
    position: relative;
    padding-top: 90px;
    padding-bottom: 20px;
}
.logo{
    margin-left: 0; /* 移除左侧固定距离，随容器居中 */
    width: 170px;
    height: 46px;
    position: absolute;
    left: 50%; /* 水平居中 */
    top: 22px;
    transform: translateX(-50%); /* 水平居中修正 */
}
.logo a{
    display: block;
}
.logo img{
    width: 100%;
}

/* 歌单推荐模块 - 一行5个布局 */
.reco_con {
    padding: 0; /* 取消额外内边距，依赖外层padding控制空白 */
}
.reco_con .reco_list {
    display: grid;
    grid-template-columns: repeat(5, minmax(120px, 1fr)); /* 适配缩小后的容器 */
    gap: 15px; /* 适当减小间距，避免内容拥挤 */
    margin: 0 auto 30px;
    max-width: 100%; /* 跟随父容器宽度 */
}
.reco_con .reco_list li{
    width: 100%;
    margin: 0;
}
.reco_con .list_pic{
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 4px;
}
.reco_con .list_pic img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: top;
}
.reco_con .list_tit{
    font-size: 14px;
    color: #333;
    line-height: 28px;
    margin-top: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 播放量样式 */
.play-info {
    display: flex;
    align-items: center;
    margin-top: 4px;
}
.play-icon {
    width: 10px;
    height: 10px;
    margin-right: 4px;
    vertical-align: middle;
    margin-top: -3px;
}
.play-count{
    font-size: 12px;
    color: #999;
    line-height: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 新歌首发模块 */
.tab{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 39px;
    gap: 10px 26px;
}
.tab a{
    font-size: 14px;
    line-height: 22px;
    margin-right: 0;
    padding: 5px 10px;
}
.tab a:hover{
    background-color: #f0f0f0;
    border-radius: 4px;
}
.song_list{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.song_list li{
    padding: 12px 0px;
    border-bottom: 1px solid #f2f2f2;
    width: 100%;
    float: none;
    margin-right: 0;
    display: flex;
    align-items: center;
}
.pic{
    width: 86px;
    height: 86px;
    flex-shrink: 0;
}
.pic img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.txt{
    padding: 10px 0;
    flex-grow: 1;
    margin: 0px 15px 0px 14px;
    min-width: 0;
}
.txt h3{
    font-size: 14px;
    line-height: 25px;
    font-weight: normal;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.txt p{
    font-size: 14px;
    line-height: 25px;
}
.txt p a{
    color: #999;
}
.time{
    font-size: 14px;
    color:#999;
    line-height: 86px;
    flex-shrink: 0;
}

/* MV模块 - 一行5个布局 */
.cd_con {
    padding: 0; /* 取消额外内边距，依赖外层padding控制空白 */
}
.cd_con .reco_list {
    display: grid;
    grid-template-columns: repeat(5, minmax(120px, 1fr)); /* 适配缩小后的容器 */
    gap: 15px;
    margin: 0 auto 30px;
    max-width: 100%;
}
.cd_con .reco_list li{
    width: 100%;
    margin: 0;
}
.cd_con .list_pic-last {
    width: 100%;
    aspect-ratio: 3/2;
    overflow: hidden;
    border-radius: 4px;
}
.cd_con .list_pic-last img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: top;
}
.cd_con .list_tit{
    font-size: 14px;
    color: #333;
    line-height: 28px;
    margin-top: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.singer {
    font-size: 12px;
    color: #666;
    line-height: 20px;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 底部 */
.foot{
    background: #333;
}
.foot a{
    color: #999;
    display: block;
}
.bt{
    font-size: 15px;
    font-weight: 500;
    line-height: 77px;
    margin-bottom: 12px;
}
.con_top{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #353535;
    height:100px;
}

/* 响应式适配 */
@media (max-width: 900px) {
    .reco_con .reco_list,
    .cd_con .reco_list {
        grid-template-columns: repeat(3, minmax(120px, 1fr));
    }
    .song_list{
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 600px) {
    .reco_con .reco_list,
    .cd_con .reco_list {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }
    .tit{
        letter-spacing: 8px;
        margin-bottom: 20px;
    }
    .song_reco,.new_song,.new_cd,.rank,.foot{
        padding: 30px 15px 25px;
    }
    .song_list{
        grid-template-columns: 1fr;
    }
    .txt{
        margin-right: 10px;
    }
    .head_con{
        padding-top: 60px;
    }
    .logo{
        width: 140px;
    }
}

@media (max-width: 350px) {
    .reco_con .reco_list,
    .cd_con .reco_list {
        grid-template-columns: 1fr;
    }
    .tit{
        letter-spacing: 4px;
        font-size: 20px;
    }
    .tab a{
        font-size: 13px;
        margin-right: 15px;
    }
    .pic{
        width: 60px;
        height: 60px;
    }
    .time{
        line-height: 60px;
        font-size: 12px;
    }
    .copyright p{
        line-height: 24px;
        font-size: 11px;
    }
}